Skip to content

feat(react-router): Make instrumentation API the default#22508

Merged
chargome merged 1 commit into
developfrom
feat/rr-instrumentation-api-default
Jul 23, 2026
Merged

feat(react-router): Make instrumentation API the default#22508
chargome merged 1 commit into
developfrom
feat/rr-instrumentation-api-default

Conversation

@chargome

@chargome chargome commented Jul 22, 2026

Copy link
Copy Markdown
Member

Wires the React Router instrumentation API in the documented client and server setup so users no longer fall through to the OTel path, and deprecates the clientInstrumentation getter in favor of the standalone createSentryClientInstrumentation() export (mirroring the server-side API).

closes #22412

@chargome chargome self-assigned this Jul 22, 2026
@chargome

chargome commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

buglitzer run

Wire the React Router instrumentation API in the documented client and server
setup so users no longer fall through to the OTel path. Deprecate the
`clientInstrumentation` getter in favor of the standalone
`createSentryClientInstrumentation()` export, mirroring the server-side API.

Fixes #22412

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chargome
chargome force-pushed the feat/rr-instrumentation-api-default branch from 245390b to 90988c2 Compare July 22, 2026 15:44
@chargome chargome changed the title docs(react-router): Make instrumentation API the documented default feat(react-router): Make instrumentation API the default Jul 22, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 245390b. Configure here.

@chargome
chargome marked this pull request as ready for review July 22, 2026 15:53
@chargome
chargome requested a review from a team as a code owner July 22, 2026 15:53
@chargome
chargome requested review from mydea and nicohrubec and removed request for a team July 22, 2026 15:53
@chargome
chargome merged commit 837e97c into develop Jul 23, 2026
53 checks passed
@chargome
chargome deleted the feat/rr-instrumentation-api-default branch July 23, 2026 07:20
chargome added a commit that referenced this pull request Jul 23, 2026
Backport of: #22508

FYI this basically just adds the deprecation notice on v10 and flips the
documentation default (which is fine since it will be in sync with
docs.sentry.io then).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make instrumentation API the default

2 participants